<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class chmanager_model extends CI_Model {
	function __construct(){
		parent::__construct();
	}
	
	
	/**
	 * 우편번호 처리
	 *
	 * @access	public
	 * @return	result
	 */
	function select_post(){
		$dong = $this->input->get('dong');
		if($dong){
			$this->db->select("*");
			$this->db->like('dong', $dong);
			//$this->db->where('master_id', $id);
			$query = $this->db->get('ch_zipcode');
			return $query->result();
		}else{
			return null;
		}
	}
	
	
}
?>